{% extends "web/vipBase.html" %}

{% block myright %}
        <!-- 右侧内容展示 -->
        <div class="right-content f-fr col-md-8 col-xs-12 col-sm-12">
            <form id="edit-profile" action="{% url 'vip_doresetps' %}" class="form-horizontal" method="post">
                {% csrf_token %}
                {% if info %}
                    <div class="tip-box">
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <i class="glyphicon glyphicon-exclamation-sign"></i>
                        <span class="tip-font">{{info}}</span>
                        <span aria-hidden="true" class="cha">&times;</span>
                        </button>
                        </div>
                {% endif %}
                <fieldset>
                    <legend></legend>
                    <div class="control-group">
                        <label class="control-label" for="input01">账号：</label>
                        <div class="controls">
                            <input type="text" name="username" class="input-xlarge" id="input01" value="{{ user.username }}" disabled/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="input01">真实姓名：</label>
                        <div class="controls">
                            <input type="text" name="name" class="inp" id="input01" value="{{ user.name }}" disabled/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="input01">原密码：</label>
                        <div class="controls">
                            <input type="text" name="passwordO" class="input-xlarge" id="input01" value=""/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="input01">新密码：</label>
                        <div class="controls">
                            <input type="text" name="passwordN" class="input-xlarge" id="input01" value=""/>
                        </div>
                    </div>
                    <div class="form-actions">
                        <button type="submit" class="btn btn-primary">保存</button>
                    </div>
                </fieldset>
            </form>
        </div>
{% endblock %}